nice square root math simplification